/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package POJO;

/**
 *
 * @author Messi
 */
public class ChiTietDonDatHangPOJO {
    private int maChiTietDonDatHang;
    private int maDonDatHang;
    private int maSanPham;
    private int soLuong;
    private float donGia;
    
    public ChiTietDonDatHangPOJO(int maChiTietDonDatHang,int maDonDatHang,int maSanPham,int soLuong,float donGia)
    {
        this.maChiTietDonDatHang = maChiTietDonDatHang;
        this.maDonDatHang = maDonDatHang;
        this.maSanPham = maSanPham;
        this.soLuong = soLuong;
        this.donGia = donGia;
    }
    public ChiTietDonDatHangPOJO(ChiTietDonDatHangPOJO ct)
    {
        this.maChiTietDonDatHang = ct.maChiTietDonDatHang;
        this.maDonDatHang = ct.maDonDatHang;
        this.maSanPham = ct.maSanPham;
        this.soLuong = ct.soLuong;
        this.donGia = ct.donGia;
    }

    public float getDonGia() {
        return donGia;
    }

    public void setDonGia(float donGia) {
        this.donGia = donGia;
    }

    public int getMaChiTietDonDatHang() {
        return maChiTietDonDatHang;
    }

    public void setMaChiTietDonDatHang(int maChiTietDonDatHang) {
        this.maChiTietDonDatHang = maChiTietDonDatHang;
    }

    public int getMaDonDatHang() {
        return maDonDatHang;
    }

    public void setMaDonDatHang(int maDonDatHang) {
        this.maDonDatHang = maDonDatHang;
    }

    public int getMaSanPham() {
        return maSanPham;
    }

    public void setMaSanPham(int maSanPham) {
        this.maSanPham = maSanPham;
    }

    public int getSoLuong() {
        return soLuong;
    }

    public void setSoLuong(int soLuong) {
        this.soLuong = soLuong;
    }
            
}
